package com.medical.sys.service;

import com.medical.sys.model.Role;

import java.util.List;

/**
 * Created by Administrator on 2016/10/17.
 */
public interface RoleService {
    public Role selectByPrimaryKey(String id);
    public List<Role> getRoles();
    public void saveRole(Role role) ;
    public Role getRole(String roleId);
    public void updateRole(Role role);
    public void deleteRole(String roleId);
    public void deleteRole(String roleId, Boolean administrator);
}
